//
//  USSearchHistoryMenu.h
//  usale0001
//
//  Created by 余国平 on 2016/12/8.
//  Copyright © 2016年 YU. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol USSearchHistoryMenuDelegate <NSObject>
- (void)usSearchHistoryMenu:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath;
@end

typedef void(^Dismiss)(void);

@interface USSearchHistoryMenu : UIView

@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, assign) id<USSearchHistoryMenuDelegate> delegate;
@property (nonatomic, strong) NSArray *arrData;
@property (nonatomic, strong) NSArray *arrImgName;
@property (nonatomic, copy) Dismiss dismiss;
//@property (nonatomic, strong) UIColor *textColor;
@property (nonatomic, strong) UIColor *selectedColor;
@property (nonatomic, assign) BOOL NotDissmiss;


@property (nonatomic, assign) BOOL badgeShow;

- (instancetype)initWithDataArr:(NSArray *)dataArr;

- (void)dismissWithCompletion:(void (^)(USSearchHistoryMenu *object))completion;

@end
